package com.hsnn.medstgmini.base.std.model;

public enum CompClassify {

	classify1(1, "中外合作"), classify2(2, "内资"), classify3(3, "国外投资股份有限公司"), classify4(
			4, "股份合作"), classify5(5, "内地和港澳台合作"), classify6(6, "集体全资"), classify7(7, "国有全资"), classify8(
			8, "联营"), classify9(9, "私有"), classify10(10, "港澳台投资"), classify11(11, "中外合资"), classify12(
					12, "港澳台投资股份有限公司"), classify13(13, "港澳台独资"), classify14(14, "内地和港澳台合资"), classify15(
							15, "有限责任公司"), classify16(16, "其他港澳台投资"), classify17(17, "股份有限公司"), classify18(
									18, "其他外商投资"), classify19(19, "国外投资"), classify20(20, "其他内资"), classify21(21, "外资企业");

	private int key;
	private String value;

	private CompClassify(int key, String value) {
		this.key = key;
		this.value = value;
	}

	public static String getName(int key) {
		for (CompClassify item : CompClassify.values()) {
			if (key == item.key) {
				return item.value;
			}
		}
		return "";
	}

	public int getKey() {
		return key;
	}

	public void setKey(int key) {
		this.key = key;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

}
